<%@ tag language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div id="complain">
	<jsp:useBean id="syndromeBean" scope="application"
		class="com.immunology.bean.SyndromeBean" />
	<h2>Додати тип скарги:</h2>
	<form action="AddComplaintTypeServlet" method="post">
		Синдром:
		<select name="syndrome">
			<c:forEach items="${syndromeBean.syndromeList }"
				var="syndrome">
				<option value="<c:out value="${syndrome.id }" />">
					<c:out value="${syndrome.name }" />
				</option>
			</c:forEach>
		</select> 
		
		<br>
		Тип скарги:
		<input type="text" name="complaintName"	class="inputField" />
		
		<br>
		Коефіцієнт: 
		<input type="text" name="complaintMultyplier" class="inputField" /> 
		<input type="submit" value="Додати"/>
	</form>
</div>